from flask import Blueprint

from app.good.models import *

good_bp = Blueprint("good", __name__)


@good_bp.route("/")
def good_list():
    good = Good()
    good.id = 1
    good.name = "Apple"
    good.price = "15"
    print(good.__dict__)
    return "商品列表"


@good_bp.route("/info")
def good_info():
    return "商品详情"
